package com.ita.osc.service;

import com.ita.osc.bean.Cart;

public interface CartManager {
	
	public Cart getCartByUserId(String uid);
	public Cart removeDishFromCart(String did, Cart cart);
	public Cart addDishIntoCart(String did, int quantity, Cart cart);
	public Cart updateQuantityOfDish(String did, int quantity, Cart cart);
	public double getCartTotal(Cart cart);
	public void clearCartByUserId(String uid);
}
